package com.ruoyi.wechat.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 订单配送记录对象 app_order_delv
 *
 * @author YinHeng
 * @date 2024-03-13
 */
@Data
@TableName("app_order_delv")
public class OrderDelv {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /**
     * 订单ID
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long orderId;

    /**
     * 商品ID
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long productId;

    /**
     * 商品数量
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Integer productNum;

    /**
     * 商品单价
     */
    private BigDecimal productPrice;

    /**
     * 商品名称
     */
    private String productName;

}
